appendModifier

abstract fun appendModifier(block: DesignBlock, modifierBlock: DesignBlock)

Appends a modifier to the modifiers of a shape. The same modifier can appear multiple times in the list. Required scope: "shape/change" on every block that uses the shape. Experimental: this API may change in a minor release.

Parameters

block

the shape to update.

modifierBlock

the modifier to append.